% tic;
% Objective
f=[-2 ;   4 ;   3];

% Equality Constraints
Aeq=[1 1 1];
beq=[4];

% Inquality Constraints
A=[ 
     -1    -1    2
     0     1     1  
];
b=[-1; 1];
% toc;

lb=[0;0;NaN];
% Transform;

% tic;
[x,fval,exitflag,output]=linprog(f,A,b,Aeq,beq,lb)
% toc;
